package com.itheim.client.vo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * @Author longbosheng
 * @Date 2022/6/21 9:13
 * @PackageName:com.itheim.client.pojo
 * @ClassName: Address
 * @Description: TODO
 * @Version 1.0
 */
@Data
@TableName("address")
public class AddressVo {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;  //主键,
    @TableField(value = "user_id")
    private String userId;   //用户id,
    private String consignee;    //收货人,
    private String phone;    //手机号,
    private String sex;  //性别 0 女 1 男,
    private String detail;    //详细地址,
    private String label;    //标签,
    @TableField(value = "is_default")
    private int isDefault;//是否是默认地址
}
